package com.ethan.cj.ssm.service.impl;

import com.ethan.cj.ssm.dao.DocumenttypeDao;
import com.ethan.cj.ssm.entity.Documenttype;
import com.ethan.cj.ssm.service.DocumenttypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DocumenttypeServiceImpl implements DocumenttypeService {

    @Autowired
    private DocumenttypeDao documenttypeDao;
    @Override
    public List<Documenttype> list() {
        return documenttypeDao.list();
    }
}
